<?php

class Jd_Recommended_log extends MY_Model {

    public function __construct()
    {
        $this->modelename='Jd_Recommended_log_model';
        $this->tablename='jd_recommended_log';
        parent::__construct();
    }


    public function addlog($row){
        return $this->add($this->tablename,$row);
    }

    /**
     * 获取用户指定范围内推荐的人数
     */
    public function getusertuijian($sql){

          return $this->GetBySql($sql);
    }
















}
